package com.itheima.daimakuai;

public class Demo01 {

    public static void main(String[] args) {
        Student student = new Student();
        Student lu = new Student("鹿晗", 30);
    }
}
class Student{
    String name;
    int age;
    {
        System.out.println("Hello");
    }
    public Student(){
        System.out.println("空参构造");
    }

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
        System.out.println("空参构造");
    }
}